package com.module.service;

import org.junit.Test;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class MpGenerator {

	@Test
	public void generate() {
		// @formatter:off
		GeneratorUtil.generate(
				"jdbc:mysql://192.168.2.30:3306/lianxinyun-zm?useUnicode=true&characterEncoding=UTF-8&useSSL=false",
				"root",
				"123456",
				"t_access_permit,t_alarm_record,t_park,t_pass_record,t_person_group,t_person_group_relation,"
				    + "t_rule,t_visit_apply,t_visitor,t_zone,t_zone_rule_relation,t_zone_type",
				"com.lianxin.zm.service.domian.dao",
				"com.module.common.base.entity.MpBaseEntity",
				"D:\\workspace\\code\\lx-fr\\mybatis-plus\\module-core\\src\\main\\java",
				"com.module.common.base.service.MpCrudService",
				"com.module.common.base.mapper.MpBaseMapper",
				"com.module.common.base.service.impl.MpCrudServiceImpl");
		// @formatter:on
	}

}
